Adjusting Single-/Multi-writer to False Sharing in Software DSMs
نویسندگان
چکیده
Two approaches are employed to deal with false sharing in software DSMs. Although single-writer is simple, it causes the ping-pong effect of the data page thrashing. In other hand, multiple-writer approach, which is eeective in re-duing the amount of page transfer, suuers from the high cost. This paper proposes a new approach to handle multiple writers in software DSMs called limited multiple-writer (LMW). It automatically distinguishes two kinds of multiple-writer with lock-based and barrier-based form, and deals with them with diierent policies. Twinning and diing in traditional multiple-writer approach are likely to be discarded and the implementation of multiple-writer is simpliied in this way. The implementation of LMW in CVM is introduced in this paper. Evaluating results show that for some applications such as SOR, LU, FFT, and IS, LMW provides a signiicant reduction in execution time (11%, 16%, 33% and 46%) compared to traditional multiple-writer approaches on our platform.
منابع مشابه
Hidden Costs in Avoiding False Sharing in Software DSMs
Page based software DSMs experience high degrees of false sharing especially in irregular applications with fine grain sharing granularity. The overheads due to false sharing is considered to be the dominant factor limiting the performance of software DSMs. Several approaches have been proposed in the literature to reduce/eliminate false sharing. In this paper, we evaluate two of these approach...
متن کاملPerformance analysis of methods that overcome false sharing effects in software DSMs
Page-based software DSMs experience high degrees of false sharing especially in irregular applications with fine grain sharing granularity. The overheads due to false sharing is considered to be a dominant factor limiting the performance of software DSMs. Several approaches have been proposed in the literature to reduce/eliminate false sharing. In this paper, we evaluate two of these approaches...
متن کاملAdaptive Techniques for Home-Based Software DSMs
This work introduces the HAP system, a software DSM that dynamically adapts to the parallel application’s sharing patterns. Adaptation is based on a constantly categorization of the sharing experienced by each page. Migratory and producer/consumer pages are managed in a single-writer mode and may be updated, while falsely-shared pages are managed in multiple-writer mode and under invalidated pr...
متن کاملEfficiently Adapting to Sharing Patterns in Software DSMs
In this paper we introduce a page-based Lazy Release Consistency protocol called ADSM that constantly and efficiently adapts to the applications' sharing patterns. Adaptation in ADSM is based on our dynamic categorization of the type of sharing experienced by each page. Pages can be categorized as falsely-shared, migratory, or producer/consumer(s). Migratory and producer/consumer(s) pages are m...
متن کاملSoftware DSM Protocols that Adapt between Single Writer and Multiple Writer
We present two software DSM protocols that dy namically adapt between a single writer SW and a multiple writer MW protocol based on the appli cation s sharing patterns The rst protocol WFS adapts based on write write false sharing the second WFS WG based on a combination of write write false sharing and write granularity The adaptation is automatic No user or compiler information is needed The ...
متن کامل